﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application;

/// <summary>
///     Description 数据配置
/// </summary>
public class DataConfigOut
{
    /// <Summary>
    ///     ID
    /// </Summary>
    public long Id { get; set; }

    /// <summary>
    ///     父Id
    /// </summary>
    public long PId { get; set; }

    /// <Summary>
    ///     唯一标识Key
    /// </Summary>
    public string Key { get; set; }

    /// <Summary>
    ///     名称
    /// </Summary>
    public string Name { get; set; }

    /// <Summary>
    ///     值
    /// </Summary>
    public string Value { get; set; }

    /// <Summary>
    ///     值扩展
    /// </Summary>
    public string Value2 { get; set; }

    /// <Summary>
    ///     值3
    /// </Summary>
    public string Value3 { get; set; }

    /// <Summary>
    ///     值4
    /// </Summary>
    public string Value4 { get; set; }

    /// <Summary>
    ///     值5
    /// </Summary>
    public string Value5 { get; set; }

    /// <Summary>
    ///     分组
    /// </Summary>
    public string GroupName { get; set; }

    /// <Summary>
    ///     排序
    /// </Summary>
    public int Sort { get; set; }

    /// <Summary>
    ///     是否启用
    /// </Summary>
    public bool IsEnable { get; set; }

    /// <Summary>
    ///     备注
    /// </Summary>
    public string Remark { get; set; }

    /// <Summary>
    ///     扩展参数
    /// </Summary>
    public string ExtensionData { get; set; }

    /// <Summary>
    ///     创建用户ID
    /// </Summary>
    public long CreatorUserId { get; set; }

    /// <Summary>
    ///     创建用户
    /// </Summary>
    public string CreatorUserName { get; set; }

    /// <Summary>
    ///     创建时间
    /// </Summary>
    public DateTimeOffset CreationTime { get; set; }

    /// <Summary>
    ///     更新用户ID
    /// </Summary>
    public long UpdateUserId { get; set; }

    /// <Summary>
    ///     更新用户
    /// </Summary>
    public string UpdateUserName { get; set; }

    /// <Summary>
    ///     更新时间
    /// </Summary>
    public DateTimeOffset UpdateTime { get; set; }

    /// <Summary>
    ///     默认假删除
    /// </Summary>
    public bool IsDeleted { get; set; }

    /// <Summary>
    ///     删除用户ID
    /// </Summary>
    public long DeletedUserId { get; set; }

    /// <Summary>
    ///     删除用户
    /// </Summary>
    public string DeletedUserName { get; set; }

    /// <Summary>
    ///     删除时间
    /// </Summary>
    public DateTimeOffset DeletedTime { get; set; }

    /// <Summary>
    ///     PKey
    /// </Summary>
    public string PKey { get; set; }


    #region treetable信息

    public List<DataConfigOut> children { get; set; }
    public bool IsParent { get; set; }

    #endregion
}